<?php $this->load->view('common/header');?>
<body class="padding_bottom">
<!-- banner [[-->
<div id="wrap">
    <ul class="hiSlider hiSlider3">
        <li class="hiSlider-item"><a href="#"><img src="<?php echo $viewmulu;?>images/banner.jpg"></a></li>
        <li class="hiSlider-item"><a href="#"><img src="<?php echo $viewmulu;?>images/banner_1.jpg"></a></li>
        <li class="hiSlider-item"><a href="#"><img src="<?php echo $viewmulu;?>images/banner_2.jpg"></a></li>
    </ul>
</div>
<!--]] banner -->
<!-- tips [[-->
<div class="tips">
	<i class="ico"></i><?php echo $msg;?>
</div>
<!--]] tips -->
<!-- home_menu [[-->
<div class="home_menu" style="padding: 10px">
    <div class="title" style="display: block;color: #00529c;font-size: 14px;">报价列表
        <em style="display: inline-block;color: #999;margin-left: 5px;">PRICE</em>
    </div>
	<ul>
<!--    	<li>-->
<!--        	<a href="--><?php //echo site_url('home/page/1')?><!--">-->
<!--            	<i class="ico ico_a"></i>-->
<!--                <p>销售合伙人</p>-->
<!--            </a>-->
<!--        </li>-->
<!--        <li>-->
<!--        	<a href="--><?php //echo site_url('home/page/2')?><!--">-->
<!--            	<i class="ico ico_b"></i>-->
<!--                <p>服务准则</p>-->
<!--            </a>-->
<!--        </li>-->
<!--        <li>-->
<!--        	<a href="--><?php //echo site_url('home/page/3')?><!--">-->
<!--            	<i class="ico ico_c"></i>-->
<!--                <p>战略伙伴</p>-->
<!--            </a>-->
<!--        </li>-->
<!--        <li>-->
<!--        	<a href="--><?php //echo site_url('home/page/4')?><!--">-->
<!--            	<i class="ico ico_d"></i>-->
<!--                <p>销售贷</p>-->
<!--            </a>-->
<!--        </li>-->
<!--        <li>-->
<!--        	<a href="--><?php //echo site_url('home/page_list/5')?><!--">-->
<!--            	<i class="ico ico_e"></i>-->
<!--                <p>报价列表</p>-->
<!--            </a>-->
<!--        </li>-->
<!--        <li>-->
<!--        	<a href="--><?php //echo site_url('home/page_list/6')?><!--">-->
<!--            	<i class="ico ico_f"></i>-->
<!--                <p>现货特卖</p>-->
<!--            </a>-->
<!--        </li>-->
        <?php if($page_list){ ?>
            <?php foreach ($page_list as $key => $val) {?>
                <li>
                    <a style="border-bottom: #e4e4e4 1px solid" href="<?php echo site_url('home/news/'.$val['article_id'])?>">
                        <img width="50px" height="50px" src="<?php echo $val['article_img'];?>">
                        <p><?php echo $val['article_title'];?></p>
                    </a>
                </li>
            <?php } ?>
        <?php } ?>
    </ul>
</div>
<!--]] home_menu -->
<!-- news [[-->
<div class="news">
	<div class="title">资料下载 <em>MATERIAL</em></div>
	<ul>
        <?php if($news){ ?>
        <?php foreach ($news as $key => $val) {?>
    	<li>
        	<a href="<?php echo base_url($val['file_location'])?>"   download="<?php echo $val['file_real_name'];?>">
                <?php echo date("Y-m-d",strtotime($val['update_time']));?>
                <?php echo $val['file_name'];?>
            </a>
        </li>
        <?php } ?>
        <?php } ?>
    </ul>
</div>
<!--]] news -->
<!-- foot_menu [[ -->
<?php $this->load->view('common/footer');?>
<!--]] foot_menu -->
<script>
	$('.hiSlider1').hiSlider();
	$('.hiSlider2').hiSlider({
		isFlexible: true,
		mode: 'fade',
		isSupportTouch: false,
		isShowTitle: false,
		isShowPage: false,
		titleAttr: function(curIdx){
			return $('img', this).attr('alt');
		}
	});
	$('.hiSlider3').hiSlider({
		isFlexible: true,
		isSupportTouch: true,
		titleAttr: function(curIdx){
			return $('img', this).attr('alt');
		}
	});
	$('.hiSlider4').hiSlider({
		startSlide: 1,
		direction: 'top'
	});
</script>
</body>
</html>
